package com.web.base.wechat.model;

import com.blue.core.dict.State;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;
import com.blue.jdbc.annotation.Transient;
import com.web.core.dict.WechatAutoMessageType;

/**
 * 微信自动回复消息实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月27日
 */
@Table(name = "wx_wechat_auto_message")
public class WechatAutoMessage
{
	@Id
	private Integer id; // 编号
	private Integer wechatId; // 微信编号
	private String code; // 代码
	private String name; // 名称
	private String content; // 内容
	private WechatAutoMessageType replyType; // 回复类型：1事件，2文本
	private State state; // 状态：0正常，1作废

	@Transient
	private String wechatName; // 微信名称

	public WechatAutoMessage()
	{
	}

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getWechatId()
	{
		return this.wechatId;
	}

	public void setWechatId(Integer wechatId)
	{
		this.wechatId = wechatId;
	}

	public String getCode()
	{
		return this.code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getContent()
	{
		return this.content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public WechatAutoMessageType getReplyType()
	{
		return replyType;
	}

	public void setReplyType(WechatAutoMessageType replyType)
	{
		this.replyType = replyType;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public String getWechatName()
	{
		return wechatName;
	}

	public void setWechatName(String wechatName)
	{
		this.wechatName = wechatName;
	}
}
